import Vue from 'vue';
import App from './App.vue';
import router from './router';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueCompositionAPI from '@vue/composition-api';
import '@/css/index.css';
import axios from '@/request/index.js';
import '@/icons'; // icon
import Componment from '@/components';

Vue.use(Componment);
Vue.use(VueCompositionAPI);
Vue.use(ElementUI);
Vue.config.productionTip = false;
Vue.prototype.$bus = new Vue();
Vue.prototype.$http = axios;

new Vue({
    router,
    render: h => h(App),
}).$mount('#app');
